<%@page import="com.situ.web.entity.Banji"%>
<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
		<table class="table table-striped table-bordered table-hover table-condensed">

 
		<tr>

 
			<td>ID</td>

 
			<td>班级名称</td>

 

 
		</tr>

 
		<%

 
			ArrayList<Banji> list = (ArrayList<Banji>)request.getAttribute("list");

 
			for (Banji banji : list) {

 
		%>

 
				<tr>

 
					<td><%=banji.getId()%></td>

 
					<td><%=banji.getName()%></td>

 
					

 
				</tr>

 
		<%

 
			}

 
		%>

 
	</table>
</body>
</html>